AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 183
Dependencies 41
Dependents 0
Total lines 1,057
Lines of code 622
Logical lines of code 280
Comment lines 232
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
processBooking()
D
31 36 97
finalize()
C
30 25 119
addPayment()
C
37 25 67
processRequest()
B
39 21 56
runPostBookingActions()
B
38 20 70
getSuccessBookingResponse()
A
40 5 68
getWcStatus()
S
59 7 12
deleteReservation()
S
58 6 17
getResultData()
S
55 5 21
deleteSingleReservation()
S
55 5 20
applyDeposit()
S
65 6 9
getTax()
S
67 4 7
getCouponDiscountAmount()
S
71 3 5
getTaxAmount()
S
65 3 9
inspectMinimumCancellationTime()
S
62 2 12
deleteUserIfNew()
S
71 2 6
setToken()
S
68 2 7
getProvidersPaymentAmount()
S
82 1 3
__construct()
S
81 1 3
getNew()
S
68 1 7
getPaymentAmount()
S
100 1 0
manageException()
S
69 1 7
manageTaxes()
S
100 1 0